import pandas as pd

# series类似于通过Numpy产生的一维数组，不同的是series还包含一组索引
names = pd.Series(['丁一', '王二', '张三'])
print(names)
print(names[1])
print(len(names))
print('==============')
for index in range(len(names)):
    print(names[index])
print('==============')
for name in names:
    print(name)
